home *** CD-ROM | disk | FTP | other *** search
- #include "bbs.h"
-
- static int CheckZSMsg(void)
- {
- ULONG class;
- extern struct IntuiMessage *ZSMsg;
-
- if(!ICON) {
- ZSMsg=(struct IntuiMessage *)GetMsg(ZmodemStatsWin->UserPort);
- if(ZSMsg) {
- class=ZSMsg->Class;
- ReplyMsg((struct Message *)ZSMsg);
- if(class==CLOSEWINDOW) return(TRUE);
- }
- }
- return(FALSE);
- }
-
- int check_abort(void)
- {
- CheckIconifyMsg();
- //(JOE) added this --v
- CheckDoorMsg(0);
- if(KEYIN) return(CheckZSMsg());
- return(FALSE);
- }
-
-